// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import '@/assets/elm-theme/index.css'
import ElementUI from 'element-ui'

import useAPI from '@/api/index';
import API from '@/api/API';

import './assets/entypo.css'
import './assets/iconfont/iconfont.css'

Vue.config.productionTip = false

Vue.use(ElementUI)

Vue.prototype.$API = Object.assign(API,useAPI)

/* eslint-disable no-new */
export default new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
